package com.c3w.synchro.common.dao;

import java.util.List;

/**
 * User: M.A Girard
 * Date: 12-04-25
 */
public interface Dao<K, E> {
    void persist(E entity);

    void remove(E entity);

    E merge(E entity);

    void refresh(E entity);

    E findById(K id);

    List<E> findAll();
}
